package valutatore;

public class UnaryExpr extends Expr {
	private Expr expr;
	private TypeOp.Type oper;
	
	public UnaryExpr (TypeOp.Type oper, Expr expr) {
		this.expr = expr;
		this.oper = oper;
	}

	@Override
	public Value eval(Env env) {
		switch (oper) {
			case Plus:
			case Minus:
			default:
				return null;
		}
	}
}
